<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>最新待办任务列表</title>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./css/headersearch.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="./css/home_allnews_list.css" />
    <link rel="stylesheet" type="text/css" href="./css/home_allTasks_list.css" />
    <link rel="stylesheet" type="text/css" href="../script/vant/index.css" />
    <style>
        .aui-bar-nav {
            background-color: #fff;
            color: #333;
            border-radius: 0;
        }
    
        .scan_img i.iconfont {
            color: #333;
        }
    
        .my_user_info {
            color: #333;
        }
    
        .title-icon {
            border-top: solid 0.5px #ddd;
        }
        .left-icon {
            width: 70%;
        }
    
        .right-icon {
            width: 30%;
        }
    </style>
</head>
<body>
    <div id="app" v-cloak>
        <!-- 弹框黑色背景 -->
        <div v-on:click="doHideSearch()" v-if="showsearch||showTop" class="maskbg">
        </div>
        <!-- <div v-on:click="doHideSearch()"  class="maskbg">
        </div> -->

        <header class="aui-bar aui-bar-nav topheader" id="aui-header" style="position: fixed;box-shadow: rgb(193 195 197 / 6%) 0px 5px 4px 0px;">
            <div class="aui-content focus">
                <div class="my_user_info_cont" v-on:click="openSetting">
                    <div class="my_user_img"><img v-bind:src="userHeadImg" /></div>
                    <div class="my_user_info">
                        <div class="my_user_name">{{userName}}</div>
                        <div class="my_user_postion text-grey">{{companyName?postionName?companyName+" - "+postionName:companyName:""}}</div>
                    </div>
                </div>
                <div v-on:click="do_open_scan_login()" class="scan_img aui-padded-t-15" >
                    <i class="icon iconfont icon-saoma"></i>
                </div>
                <div v-on:click="do_open_sousuo()" class="scan_img aui-margin-l-15 aui-padded-t-15" >
                    <i class="icon iconfont icon-sousuo"></i>
                </div>
                <div v-on:click="do_open_news()" class="scan_img aui-margin-l-15 aui-padded-t-15" >
                    <div style="position: relative;"> 
                        <i class="icon iconfont icon-chat aui-font-size-20 "></i>
                        <div v-if="newCount>0&&newCount<=99" class="newsnum" style="left:12px;">{{newCount}}</div>
                        <div v-if="newCount>99" class="newsnum" style="left:12px;"><i class="icon iconfont icon-sandian" style="font-size: 0.5rem;color: #fff;"></i></div>
                    </div>
                     
                </div>
            </div>

            <!-- 配置按钮 -->
            <!-- <div class="app_list_txt title-icon" style="background: #fff;">
                <div class="right-icon" style="float: unset;">
                   <div style="line-height: 48px;"> 
                    <i class="icon iconfont icon-weiguanzhu"></i>
                    <i class="icon iconfont icon-xianshidazhe"></i>
                    <i class="icon iconfont icon-xinzeng aui-margin-r-5"></i>
                   </div>
                </div>
            </div> -->

        </header>
        <section id="main_refresh" class="aui-refresh-content" :style="{'margin-top':headerHeight+'px'}"  >
            <div class="posibox boxsty" >
                <section class="aui-grid aui-margin-b-15" style="padding-bottom:0.75rem; margin-bottom:0rem!important;">
                    <div class="aui-row yy-content aui-padded-t-0" >
                        <!--通知公告-->
                        <div class="boxarea mainbox aui-padded-0 " style="background: #edf3ff;">
                            <div class="posibox scroll_box marginbg" style="position: relative;">
                                <div class="aui-row" style=" display: flex;align-items: center;color: #289FFF;">
                                    <div class=" aui-margint-5">
                                        <div class="notice aui-padded-l-10 aui-padded-r-15" >
                                            <!-- <img src="../image/announcements.png"  /> -->   
                                           <label class="tz-tag"> <i class="icon iconfont icon-tongzhi4 aui-font-size-16"></i></label>
                                        </div>
                                    </div>
                                    <div style="border-right: solid 1px #289FFF;width: 1px;height:16px;line-height: 16px;"></div>
                                    <div class="aui-margin-l-10" style="width:calc(100% - 90px);">
                                        <div v-if="tongzhilist.length>0"  class="bullet">
                                            <div class="bullet_inner">
                                                <div class="bullet_wrap">
                                                    <div class="bullet_item aui-ellipsis" v-for="item in tongzhilist" v-on:click="open_gonggao_detail(item.ID)">
                                                        <div class="aui-ellipsis-1 aui-font-size-12 text-blue" style="max-width: 80%;">{{item.Title}}</div>
                                                        <div v-if="item.Status=='未读'" class="aui-list-item-right"><div class="aui-dot new-dot" ></div></div>
                                                    </div>
                                                </div>
                                                <div class="bullet_wrap">
                                                    <div class="bullet_item aui-ellipsis"  v-for="item in tongzhilist" v-on:click="open_gonggao_detail(item.ID)">
                                                        <div class="aui-ellipsis-1 aui-font-size-12 text-blue" style="max-width: 80%;">{{item.Title}}</div>
                                                        <div v-if="item.Status=='未读'" class="aui-list-item-right"><div class="aui-dot new-dot"></div></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div v-if="tongzhilist.length<=0" style="line-height: 40px;color: #999;font-size: 13px;">暂时没有通知消息喔</div>
                                    </div>

                                    <div v-on:click="open_tongzhixiaoxi()" class="gonggao_more" style="right: 0;">
                                        <i class="icon iconfont icon-xiangyoujiantou aui-font-size-14"></i>
                                    </div>

                                </div>
                            </div>
                        </div>

                        <div v-if="item.IsShow&&item.ID!=963" v-for="(item,index) in list" v-on:click="do_opentypelist(item.ID)"  class="boxarea mainbox aui-padded-0">
                            <div style="display: flex;">
                                <div class="left-list" v-bind:class="{'left-bg-blue':item.ID==690||item.ID==692||item.ID==814,'left-bg-green':item.ID==693||item.ID==695}">
                                    <div> 
                                        <img v-if="item.ID==690"  class="left-list-img" src="../image/icon/shebei.png">
                                        <img v-if="item.ID==692"  class="left-list-img" src="../image/icon/anfang.png">
                                        <img v-if="item.ID==693"  class="left-list-img" src="../image/icon/huanjing.png">
                                        <img v-if="item.ID==956"  class="left-list-img" src="../image/icon/shenhe.png">
                                        <img v-if="item.ID==814"  class="left-list-img" src="../image/icon/kefu.png">
                                        <img v-if="item.ID==695"  class="left-list-img" src="../image/icon/tousu.png">
                                        <img v-if="item.ID==963"  class="left-list-img" src="../image/icon/tongzhi.png">
                                        <img v-if="item.ID==1064" class="left-list-img" src="../image/icon/neibutongzhi.png">
                                        <img v-if="item.ID==1564" class="left-list-img" src="../image/icon/worktask.png">
                                    </div>
                                   <div class="text-grey aui-margin-t-0" style="text-align: center;font-size: 13px;">{{item.Name}}</div>
                                </div>
                                <div v-if="item.ItemNumList" class="aui-padded-l-10 aui-padded-r-10 right-list" >
                                    <div class="pj-list" >
                                        <div v-for="itemNum in item.ItemNumList" ><span class="text-grey ">{{itemNum.Name}}:</span><span>{{itemNum.Number>99?'99+':itemNum.Number}}</span></div>
                                    </div>
                                    <div class="text-grey aui-ellipsis-1 aui-font-size-12" >{{item.Summary}}</div>
                                </div>
                            </div>  
                        </div>

                        <div v-if="list.length>0" class="notodayList" style="background:none;">
                            没有更多内容了
                        </div>

                    </div>
                </section>
            </div>
        </section>
    </div>
    <div id="appupgrade">
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript " src="../script/vant/vue.js"></script>
<script type="text/javascript " src="../script/vant/vant.js"></script>
<script type="text/javascript" src="js/home_allTasks_list.js"></script>
<script type="text/javascript" src="../script/page/upgrade.js"></script>
</html>
